package com.liu.example.service;

import com.liu.example.properties.HelloProperties;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author LIU
 * @version 1.0
 * @description: TODO
 * @date 2023/6/5 17:43
 */
public class HelloService {
    @Autowired
    private HelloProperties helloProperties;

    public String SayHello(String userName) {
        return helloProperties.getPrefix() +"--"+ userName +"--"+ helloProperties.getSuffix();
    }
}
